package com.qf.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (SysNews)实体类
 *
 * @author makejava
 * @since 2021-11-26 11:31:22
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysNews implements Serializable {
    private static final long serialVersionUID = -71901110115021678L;
    
    private Integer id;
    
    private String title;
    
    private String content;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createtime;
    
    private String opername;

}